#ifndef MYTEXTEIDT_H
#define MYTEXTEIDT_H

#include <QTextEdit>
#include "widget.h"




class MyTextEidt : public QTextEdit
{
public:
    MyTextEidt(QWidget* parent);

protected:
    void wheelEvent(QWheelEvent* e);
    void keyPressEvent(QKeyEvent *e);
    void keyReleaseEvent(QKeyEvent *e);
private:
    int ctrlKey = 0;
};

#endif // MYTEXTEIDT_H
